package com.hcms.system.service;

import com.hcms.system.domain.RoleDo;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface RoleService {

    RoleDo get(int id);

    List<RoleDo> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(RoleDo role);

    int update(RoleDo role);

    List<RoleDo> tree();
}
